package com.operation.net.mapper;


import com.operation.net.model.InterFlow;
import com.operation.net.model.Interface;
import com.operation.net.model.SystemInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @date 2020/5/8 -- 7:54
 **/
@Repository
public interface DeviceViewMapper {


    List<SystemInfo> getDevice();

    List<Interface> selectInterfaceByIp(@Param("ip") String ip);

    List<InterFlow> selectInterfaceflowByInter(@Param("ip") String ip, @Param("interDescr") String interDescr);

    List<Interface> selectInfaceInfoFilterEmptydata(@Param("ip") String ip);

    List<InterFlow> selecAllInfaceFlow(@Param("ip") String ip);

}
